<h1><%= @title %></h1>
<% for title in %w(login email real_name other_info) -%>
  <%= title %> &nbsp; &nbsp;
<% end -%>
<br/>
<% for @user in @users -%>
  <% if @user.id == current_user.id or is_admin? -%>
    <%= link_to @user[:login], :action => 'edit', :id => @user.id %>
  <% else %>
    <%= @user[:login] %> &nbsp; &nbsp;<%= @user[:email] %> &nbsp; &nbsp;<%= @user.profile.real_name %> &nbsp; &nbsp;<%= @user.profile.other_info %>
    <br/>
  <% end %>
<% end %>

